package com.yunao.dao;

import com.yunao.entity.Position;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface PositionRepository extends JpaRepository<Position,Integer> {

    List<Position> findByParentid(Integer parentid);
}
